#ifndef SWF_VIDEO_SERVLET_H_INCLUDED
#define SWF_VIDEO_SERVLET_H_INCLUDED

#include "http_servlet.h"
#include "web_sock_holder.h"
#include <list>
using std::list;

namespace vmon_web
{
    class VideoThread;

    class SwfVideoServlet: public HttpServlet
    {
    public:
        SwfVideoServlet();
        virtual ~SwfVideoServlet();
		virtual bool handleRequest(WebSockHolder* sockHolder);
        virtual bool handleRequest(HttpRequest& request, HttpResponse& response);

    protected:
        VideoThread* m_videoThread;
		list<WebSockHolder*> m_listConnections;
    };
}
#endif // SWF_VIDEO_SERVLET_H_INCLUDED
